package com.i18n.moka;

import java.time.LocalDateTime;
import java.util.Locale;

public class HourConvert implements FiledConvert {
    @Override
    public String convert(String content, LocalDateTime time, String Locale, String dateTimeIdentifier)  {
        return content.replaceAll(dateTimeIdentifier, String.format("%02d", time.getHour()));
    }
}
